package com.sub.service;

import com.sub.model.SpThirdMenu;
import com.sub.utils.PageList;

import java.util.List;

public interface ThirdMenuService {

	/**
	 * @description: 查询所有一级菜单
	 */
	public List<SpThirdMenu> queryThirdMenuList(SpThirdMenu thirdMenu);


	/**
	 * @Description: 查询一级菜单（条件（名称）以及分页查询）
	 */
	public PageList queryThirdMenuByPageAndName(PageList pageList, int page, String name);

	/**
	 * @Description: 新增一级菜单
	 */
	public int saveThird(SpThirdMenu thirdMenu);

	/**
	 * @Description: 更新一级菜单
	 */
	public int editThird(SpThirdMenu thirdMenu);

	/**
	 * @Description: 删除一级菜单（单个）
	 */
	public int removeThirdById(String thirdMenuId);

	/**
	 * @Description: 删除一级菜单（批量）
	 */
	public int batchRemoveThirdByIdS(String[] ids);

}
